package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 三级联动数据表
 * </p>
 *
 * @author ${author}
 * @since 2023-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_region")
@ApiModel(value="Region对象", description="三级联动数据表")
public class Region implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编码")
    private Integer id;

    @ApiModelProperty(value = "父级编码")
    private Integer parentId;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "名称(简)")
    private String name;

    @ApiModelProperty(value = "名称(全)")
    private String fullName = "";

    @ApiModelProperty(value = "首字母")
    private String initial;


}
